import service from '@/utils/request'

const YmMerchantApi = {
  addYmMerchant: function (data) {
    return service.post('ymMerchant', data)
  },
  deleteYmMerchant: function (data) {
    return service.put('ymMerchant/delete', data)
  },
  
  editYmMerchant: function (data) {
    return service.put('ymMerchant', data)
  },
  getYmMerchant: function (data) {
    return service.get('ymMerchant', {params:data})
  },
  listYmMerchant: function (data) {
    return service.get('ymMerchant/page', {params: data})
  },
}

export default YmMerchantApi